package com.practice.thread;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.Writer;
import java.net.DatagramSocket;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;

public class Test extends Test1 {
	public static void main(String[] args) {
		try {
			DatagramSocket sendSocket = new DatagramSocket();
			DatagramSocket receSocket = new DatagramSocket(10000);
			new Thread(new Send(sendSocket)).start();
			new Thread(new Receive(receSocket)).start();
		} catch (SocketException e) {
			e.printStackTrace();
		}
		
		
	}

}
